﻿<%@ Page PathInChannel="index{Ext}" %>
<%@ OutputCache Duration="3600" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "index";
var _webPath = "<%=WebPath%>";
var _lang = "<%=PageLang%>";
var _linkPath = "<%=BuildUrl("link")%>";
var _imagePath = "<%=ImagePath%>";
var _listPath = "<%=BuildUrl("ajax_list")%>";
var _lang_by_text = "改为文字显示";
var _lang_by_logo = "改为Logo显示";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<div class="Menu">
			<ali:Record>
				<ali:Select>
					<ali:Yes>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					</ali:No>
				</ali:Select>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：网址 - Banner" -->
<div class="Wrap">
	<div class="Ad1">
		<ali:Ad Guid="{47FC1132-5CE5-4D19-80CE-4E865A14BAD1}">
			<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="类别" -->
<ali:List Object="Category" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="Wrap">
		<div class="SubMenu">
			<div class="Left"></div>
			<div class="Middle">
				<ali:Record>
					<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a>
					<ali:Separator>|</ali:Separator>
				</ali:Record>
			</div>
			<div class="Right"></div>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Wrap">
	<form id="Search" action="<%=BuildUrl("search")%>" target="_blank">
		请输入关键词：
		<input type="text" name="q" size="40" class="Text <%=PageLang%>Font" />
		<input type="submit" value="搜 索" class="Submit" />
	</form>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 左" -->
	<div class="Ad2">
		<ali:Ad Guid="{D0B542BA-A5C9-46AB-8A2D-AEFAC9D58306}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad4.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 中" -->
	<div class="Ad2">
		<ali:Ad Guid="{51516564-A24D-496D-8EF4-619C2C476884}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:480px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 右" -->
	<div class="Ad2">
		<ali:Ad Guid="{06932EC2-EFF9-4067-AB8F-84487CEA6FE5}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad8.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="路径" -->
<div class="Wrap">
	<div class="Path">当前位置：
		<ali:Path>
			<ali:Record>
				<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt; 
			</ali:Record>
		</ali:Path>
		<%=Channel[Name]%>
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
    <div class="Block1">
		<h2>网站地图</h2>
		<ul class="List2">
			<%If UserChannel != null%>
				<li><a href="<%=BuildUrl(UserChannel, "index", null)%>" target="_blank">添加网站</a></li>
				<li><a href="<%=BuildUrl(UserChannel, "index", null)%>" target="_blank">修改网站</a></li>
			<%EndIf%>
			<li><a href="<%=BuildUrl("alexa")%>" target="_blank">世界排名</a></li>
		</ul>
		<div class="Bottom1"></div>
		
		<!-- TemplateBeginEditable name="最新加入" -->
		<h2>最新加入</h2>
		<ali:List Object="Link" Page="1" PageSize="10" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
			<ul class="List2">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a><span><%=Convert.ToDateTime(UpdateTime).ToString("yyyy-MM-dd")%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="一周入站排行" -->
		<h2>一周入站排行</h2>
		<ali:List Object="In" Operation="HotList(1, 10, 7)">
			<ul class="List2">
				<ali:Record>
					<li><a href="<%=BuildUrl("link", LinkInnerID)%>" target="_blank" title="<%=LinkName%>"><%=LinkName%></a><span><%=Count%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="一周出站排行" -->
		<h2>一周出站排行</h2>
		<ali:List Object="Out" Operation="HotList(1, 10, 7)">
			<ul class="List2">
				<ali:Record>
					<li><a href="<%=BuildUrl("link", LinkInnerID)%>" target="_blank" title="<%=LinkName%>"><%=LinkName%></a><span><%=Count%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
			
		<!-- TemplateBeginEditable name="标 签" -->
		<h2>标 签</h2>
		<ali:List Object="Link.Tag" Operation="FilterList(1, 10, null)">
			<ul class="List3">
				<ali:Record>
					<li><a href="<%=BuildUrl("tag")%>" target="_blank" title="<%=TagName%>"><%=TagName%></a></li>
				</ali:Record>
				<li><a href="<%=BuildUrl("tag_list")%>" target="_blank" title="更多标签">更多标签...</a></li>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="地 区" -->
		<h2>地 区</h2>
		<ali:List Object="Region">
			<ul class="List3">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
    </div>
    <div class="Block2 Margin1">
		<ul class="TabMenu">
			<li class="Selected"><a><span>最近访问</span></a></li>
			<li id="_1f7a4112-9d08-4dc3-9f3b-5a7420bb3a15"><a href=""><span>网上银行</span></a></li>
			<li id="_8289bb66-f4bd-46da-a7f4-59a744eec14a"><a href=""><span>在线词典</span></a></li>
			<li id="_49e1389e-d25d-4e6c-bc33-66dfbc768d5e"><a href=""><span>其他工具</span></a></li>
		</ul>
		<div class="List1"></div>
		
		<!-- TemplateBeginEditable name="广告位：网址 - 最近访问 - 下方" -->
		<div class="Ad20">
			<ali:Ad Guid="{75B16FEC-6022-4805-80F2-3CE8E854898D}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:760px;height:60px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="类别和列表" -->
		<ali:List Object="Category" Condition="IsDisplay=true and ParentID IS NULL">
			<ali:Record>
				<div class="Title1" id="_<%=ID%>">
					<div class="Left">
						<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a> （<a href="">改为Logo显示</a>）
					</div>
					<ul class="Right">
						<li class="Selected"><a><span>最新加入</span></a></li>
						<li><a href=""><span>世界排名</span></a></li>
						<li><a href=""><span>站长推荐</span></a></li>
						<li><a href=""><span>用户推荐</span></a></li>
					</ul>
				</div>
				<div class="List1">
					<ali:List Object="Link" Page="1" PageSize="50" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="Hold DESC, UpdateTime DESC">
						<ali:Row MaxCol="1">
							<ul>
								<ali:Col MaxRecord="5">
									<ali:Record>
										<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a></li>
									</ali:Record>
								</ali:Col>
							</ul>
						</ali:Row>
					</ali:List>
				</div>
			</ali:Record>			
		</ali:List>
		<!-- TemplateEndEditable -->
    </div>
</div>

<!-- TemplateBeginEditable name="广告位：网址 - 网页底部" -->
<div class="Wrap">
	<ali:Ad Guid="{EF0D4B29-B643-4906-9AC1-AF4A07E82211}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad9.jpg" alt="Ad" style="width:980px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Footer">
		<!-- TemplateBeginEditable name="脚注菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
			<hr size="1" />
		</ali:Menu>
		<!-- TemplateEndEditable -->
	
		<%=Footer%>
	</div>
</div>

<%=ICP%>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
